package org.hcyspartnoc.luoxin.pojo.po.searchtopic;

import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data

@Accessors(chain = true)
public class QuestionBankPo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;


    private Long id;
    @NotNull(message = "用户id不能为空")
    private Integer userId;
    @NotNull(message = "题库名字不能为空")
    private String name;
    private String notes;
    private String query;
    private String imageUrl;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private String answer;
}